import ffmpeg
import sys


def cvt_ts2mp4(input_file, output_file):
    print(f"converting   {input_file}      -- to -->     {output_file}     ........")
    stream = ffmpeg.input(input_file)
    stream = ffmpeg.output(stream, output_file, vcodec='copy', acodec='copy')
    ffmpeg.run(stream)
    print("done!")
    print(" ")


if __name__ == "__main__":
    input_file = sys.argv[1]
    output_file = sys.argv[2]
    cvt_ts2mp4(input_file, output_file)